.class public Lcom/netease/newsreader/model/Comment;
.super Ljava/lang/Object;
.source "Comment.java"


# static fields
.field public static final PARAM_B:Ljava/lang/String; = "b"

.field public static final PARAM_BI:Ljava/lang/String; = "bi"

.field public static final PARAM_F:Ljava/lang/String; = "f"

.field public static final PARAM_IP:Ljava/lang/String; = "ip"

.field public static final PARAM_K:Ljava/lang/String; = "k"

.field public static final PARAM_P:Ljava/lang/String; = "p"

.field public static final PARAM_PI:Ljava/lang/String; = "pi"

.field public static final PARAM_S:Ljava/lang/String; = "s"

.field public static final PARAM_T:Ljava/lang/String; = "t"

.field public static final PARAM_U:Ljava/lang/String; = "u"


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 9
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static validateArticleUrl(Ljava/lang/String;)Z
    .locals 4
    .parameter "url"

    .prologue
    .line 31
    invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v2

    if-eqz v2, :cond_0

    .line 32
    const/4 v2, 0x0

    .line 39
    :goto_0
    return v2

    .line 36
    :cond_0
    const-string v2, "^http://([^\\s]+).163.com/\\d{2}/\\d{4}/\\d{2}/[0-9A-Z]{8}00[0-9]{2}([0-9A-Z]{4}|sp|rt)(_\\d{1,2}){0,1}.html$"

    .line 37
    const/4 v3, 0x2

    .line 35
    invoke-static {v2, v3}, Ljava/util/regex/Pattern;->compile(Ljava/lang/String;I)Ljava/util/regex/Pattern;

    move-result-object v1

    .line 38
    .local v1, urlRegx:Ljava/util/regex/Pattern;
    invoke-virtual {v1, p0}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v0

    .line 39
    .local v0, matcher:Ljava/util/regex/Matcher;
    invoke-virtual {v0}, Ljava/util/regex/Matcher;->matches()Z

    move-result v2

    goto :goto_0
.end method
